package com.feducation.service.impl;

import com.feducation.entity.Tuser;
import com.feducation.mapper.TuserMapper;
import com.feducation.service.ITuserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class TuserServiceImpl implements ITuserService {

    private TuserMapper tuserMapper;
    @Autowired
    public TuserServiceImpl(TuserMapper tuserMapper){
        this.tuserMapper = tuserMapper;
    }

    @Override
    public int insert(Tuser record) {
        return tuserMapper.insert(record);
    }
}
